import QtQuick 2.3

Item
{
    id: loading

    property alias text: text.text

    width: 360
    height: 640

    Rectangle
    {
        id: rectangle1
        anchors.fill: parent
        color: theme.waitBackground

        Text
        {
            id: title
            text: "whandgo"
            anchors.centerIn: parent
            color: theme.waitTitle
            font.pointSize: theme.bigFont
            font.family: theme.ubuntuFont.name
        }

        Text
        {
            id: text
            text: "Loading data..."
            anchors.horizontalCenter: parent.horizontalCenter
            anchors.top: title.bottom
            font.pointSize: theme.smallFont
            color: theme.waitText
        }
    }
}
